var deviceone = require("deviceone");
var cacher = deviceone.sm("do_DataCache");

module.exports.bizzType = {
	/** community * */
	COMMUNIty : 1,
	/** CIRCLE * */
	CIRCLE : 2,
};
//高度
var multi_check = "multiCheck";

module.exports.multiCheck = function() {
	if (arguments.length == 0) {
		if (cacher.hasData(multi_check)) {
			var value = cacher.loadData(multi_check);
			if (!value || value == null || value === "undefined") {
				return "";
			}
			return value;
		}
	}
	if (arguments[0] === "") {
		cacher.removeData(multi_check);
		return;
	}
	cacher.saveData(multi_check, "" + arguments[0]);
};